<template>
  <div>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" @click="gohome">首页</van-tabbar-item>
      <van-tabbar-item icon="add-o" @click="gorelease">发布</van-tabbar-item>
      <van-tabbar-item icon="manager-o" @click="gomy">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {

      data() {
    return {
      active: 0,
      icon: {
        active: 'https://img01.yzcdn.cn/vant/user-active.png',
        inactive: 'https://img01.yzcdn.cn/vant/user-inactive.png',
      },
    };
  },
  methods: {
     gohome(){
          this.$router.push('/')
     },
     gorelease(){
          this.$router.push('/Release')
     },
     gomy(){
          this.$router.push('/My')
     }
  },
};
</script>

<style>
</style>